package com.security.domain.vo;

import com.security.domain.po.Role;
import lombok.Builder;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
/**
 * view object
 * 视图对象
 * 用于返回给前端的用户信息
 *
 * @author DblSun
 */
@Builder
@Data
public class AccountInfo {
    private Integer id;
    private String username;
    private String phone;
    private String email;
    private ArrayList<Role> roles;
}
